Fleet changelogs · dev.ecs0.net
rdmsm4x - changelog - XEntropy M6-R8 Hermetic Test Isolation and Canary Deployment - antigravity - FEAT-20260927-29 - XEntropy - 20260928-0115

rdmsm4x - changelog - XEntropy M6-R8 Hermetic Test Isolation and Canary Deployment - antigravity - FEAT-20260927-29 - XEntropy - 20260928-0115

Overview

Hardened XEntropy test runners against accidental canonical store mutation under Fleet Core Rules §4, established fail-safe redirection in AuditDatabase.defaultDatabaseURL(), verified empirical immutability via adversarial stress challenges, built Universal2 production distribution, and deployed verified artifacts across priority fleet nodes (rdmbair13m5, rdmbair15m5, and rdmsm4x).

Key Deliverables & Evidence

  1. Fleet Core Rules §4 Hermetic Test Isolation:
    • app/Sources/XEntropyCore/Audit/AuditDatabase.swift: Deployed isRunningUnderTestingFramework check that automatically redirects tests to process-scoped temporary database in NSTemporaryDirectory() if XENTROPY_AUDIT_DB_PATH is unset.
    • app/Tests/XEntropyCoreTests/FleetCredentialAuthorityTests.swift & app/Tests/XEntropyGatewayTests/MCPStdioServerTests.swift: Added ensureIsolatedDatabase() and cleanupIsolatedDatabase() lifecycle hooks respecting externally configured paths and isolating test Merkle trees.
    • Verified that running unit tests produces zero canonical database mtime or row modifications.
  2. Empirical Adversarial Challenge Suite (tests/adversarial_m6_challenge.py):
    • Executed full 37-test matrix spanning Swift stress harnesses (m6_stress_harness.swift), CryptoKit oracle derivations, SQLite trigger immutability (UPDATE and DELETE blocks), test DB isolation audits, and independent test runner invocations.
    • Result: 37/37 PASSED (0 failures, exit code 0).
  3. Dual-Track E2E Test Matrix (tests/e2e/run_all_e2e.sh):
    • Executed all 437 tests across 14 suites (Feature coverage, Boundary & corner cases, Cross-feature interactions, and Real-world scenarios).
    • Result: 437/437 PASSED (100% green, exit code 0).
  4. Universal2 Fat Binary Production Build:
    • Built fat slices (arm64 + x86_64) for XEntropy.app, xentropyctl, xentropy-mcp, and xentropy-host with Developer ID signing and hardened runtime (build.sh).
  5. Multi-Node Fleet Canary Rollout & Live Verification:
    • rdmbair13m5: Installed (INSTANCE_PASS), verified canary (ARTIFACT_PASS), launched in foreground via SSH (open -a ~/Applications/XEntropy.app).
    • rdmbair15m5: Installed (INSTANCE_PASS), verified canary (ARTIFACT_PASS), launched in foreground via SSH.
    • rdmsm4x: Installed (INSTANCE_PASS), verified canary (ARTIFACT_PASS).
  6. Git Remotes:
    • Verified clean working tree.
    • Pushed commit e574f72 to fleet main (git.ecs0.net), backup main (GitHub), and origin main.